//
// Created by spiro on 19-3-7.
//

#include <stdio.h>
void trystat(void);

int main(void) {
    int count;

    for (count = 0; count < 3; ++count) {
        printf("Here comes iteration %d:\n", count);
        trystat();
    }

    return 0;
}

void trystat(void) {
    int fade = 1;
    static int stay = 1;
    printf("fade = %d and stay = %d\n", fade++, stay++);
}